package com.lrkj.sys.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 服务类型数据字典对象 sys_service_dict
 *
 * @author yajun_ren
 * @date 2021-07-31
 */
public class ServiceDict extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 服务编码
     */
    private Long serviceCode;

    /**
     * 父级id
     */
    @Excel(name = "父级id")
    private Long parentCode;

    /**
     * 服务名称
     */
    @Excel(name = "服务名称")
    private String serviceName;

    /**
     * 服务类型
     */
    @Excel(name = "服务类型")
    private String serviceType;

    /**
     * 状态
     */
    private String status;

    public void setServiceCode(Long serviceCode) {
        this.serviceCode = serviceCode;
    }

    public Long getServiceCode() {
        return serviceCode;
    }

    public void setParentCode(Long parentCode) {
        this.parentCode = parentCode;
    }

    public Long getParentCode() {
        return parentCode;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("serviceCode", getServiceCode())
                .append("parentCode", getParentCode())
                .append("serviceName", getServiceName())
                .append("serviceType", getServiceType())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
